﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="productList.aspx.cs" Inherits="productList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>产品展示</title>
    <link rel="Stylesheet" type="text/css" href="Style/StyleSheet.css" />
    <style type="text/css">
     
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <div style=" margin:0 auto; width:660px">
          <div  style="border:solid 1px Black"> 
          关键字：
          <asp:TextBox ID="TextBox1" TextMode="SingleLine" runat="server"></asp:TextBox>
          &nbsp;&nbsp;&nbsp;
          价格区间：<asp:TextBox ID="TextBox2" TextMode="SingleLine" runat="server" ></asp:TextBox>~
                    <asp:TextBox ID="TextBox3" TextMode="SingleLine" runat="server"></asp:TextBox>
          <asp:Button Text="搜索" runat="server" Width="76px" onclick="Unnamed3_Click" />
          </div>
          <asp:DataList id="DataList1"  runat="server" RepeatColumns="4" 
                    RepeatDirection="Horizontal" Width="660px" CellPadding="4" ForeColor="#333333" >
	        <ItemTemplate>
	        <table cellpadding="2" cellspacing="0" border="0" >
                <tr align="center">           
                  <td align="left" style="width:150px">
                  <a href='productDetail.aspx?Book_Idint=<%# DataBinder.Eval(Container.DataItem,"Book_Idint")%>' target="_blank" >
                      <img src='<%# DataBinder.Eval(Container.DataItem,"Book_Coverstr")%>' style="border:solid 1px #C0C0C0" alt="" width="150px" height="150px"  title="<%# DataBinder.Eval(Container.DataItem, "Book_Namestr")%>"/>
                  </a>  				      
			      </td>
                </tr>
                <tr>
                  <td style="width:150px; height:55px; vertical-align:text-top">
                    <a title="查看详细资料" href='productDetail.aspx?Book_Idint=<%# DataBinder.Eval(Container.DataItem,"Book_Idint")%>'  target="_blank">
			         <font color="#0033CC"><%# DataBinder.Eval(Container.DataItem, "Book_Namestr")%></font>
			      </a>
                  </td>
                </tr>
                <tr>
                  <td style="width:150px">
                    <b>&yen;<font color="red"><%# DataBinder.Eval(Container.DataItem, "sellprice")%></font></b>
                  </td>
                </tr>
                <tr>
                  <td style="width:150px">
                      <font color="black" >成交<%# DataBinder.Eval(Container.DataItem,"sellCount" )%>笔</font>	
                  </td>
                </tr>
            </table>
	        </ItemTemplate>
          
          </asp:DataList>
          <div style="text-align:center; width: 660px;">共<asp:label ID="Label1" Runat="server" ForeColor="#ff0000"></asp:label>页/共
            <asp:label ID="Label2" Runat="server" ForeColor="#ff0000"></asp:label>记录
            <asp:linkbutton ID="Fistpage" Runat="server" CommandName="0">首页</asp:linkbutton>    
            <asp:linkbutton ID="Prevpage" Runat="server" CommandName="prev">上一页</asp:linkbutton>    
            <asp:linkbutton ID="Nextpage" Runat="server" CommandName="next">下一页</asp:linkbutton>    
            <asp:linkbutton ID="Lastpage" Runat="server" CommandName="last">尾页</asp:linkbutton>
            当前第<asp:label ID="Label3" Runat="server" ForeColor="#ff0000"></asp:label>页    
            跳页<asp:TextBox ID="TextBox4" Runat="server" Width="30px" MaxLength="5" AutoPostBack="True"></asp:TextBox>
          </div>
      </div>
   </div>
    </form>
</body>
</html>
